﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using NPOI.SS.UserModel;

namespace Undsf.RmmvDbms.Data.Internal
{
    class Action
    {
        public const int ConditionTypeAlways = 0;
        public const int ConditionTypeTurn = 1;

        public int conditionParam1 { get; set; }
        public int conditionParam2 { get; set; }
        public int conditionType { get; set; }
        public int rating { get; set; }
        public int skillId { get; set; }

        public Action(int skillId, int rating = 5, int condType = ConditionTypeAlways, int cond1 = 0, int cond2 = 0)
        {
            this.conditionParam1 = cond1;
            this.conditionParam2 = cond2;
            this.conditionType = condType;
            this.rating = rating;
            this.skillId = skillId;
        }
    }
}
